package org.zfes.snowier.cloud.zbss.cms.topic.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.topic.model.CmsTopic;
public interface ICmsTopicService{

	 Optional<CmsTopic> loadCmsTopicById(Long id);
	
	 void createCmsTopic(CmsTopic cmsTopic,String columnIdString,Long modleId);
	
	 void updateCmsTopic(CmsTopic cmsTopic);

	 void deleteCmsTopic(Long id);
	
	 DataSet loadCmsTopicDataSet(Map<String, Object> params);
	 
	 List<CmsTopic> loadBySiteId(Long siteId);
	 
	 List<CmsTopic> loaByParentId(Long parentId);
	 
	 List<CmsTopic> loadByParentIdAndSiteId(Long parentId,Long siteId);
	 
 	void setCmsTopicStatus(Long id, Byte status);
}